package com.franklin.ideaplugin.easytesting.configuration;

import com.franklin.ideaplugin.api.persist.BasePersistentState;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;

/**
 * @author Ye Junhui
 * @since 2023/8/10
 */
@State(
        name = "com.franklin.ideaplugin.easytesting.configuration.UIConfigPersistentState",
        storages = {@Storage(BasePersistentState.PERSISTENT_PATH + "EasyTestingUiSetting.xml")}
)
public class UIConfigPersistentState extends BasePersistentState<UIConfigPersistentState> {

    public int headerHeight = 260;
    public int historyWidth = 2;

    public static UIConfigPersistentState getInstance(){
        return ServiceManager.getService(UIConfigPersistentState.class);
    }
}
